#ifndef __SCENE_PROPERTIES_VIEW_H__
#define __SCENE_PROPERTIES_VIEW_H__


#include <QtWidgets/QtWidgets>
#include "ImageInfo.h"
#include "SceneEditor.h"


class ScenePropertiesView : public QTableWidget
{
    Q_OBJECT
    Q_DISABLE_COPY(ScenePropertiesView)

public:
    ScenePropertiesView(QWidget *parent = 0);
    virtual ~ScenePropertiesView();

public slots:
    void onImageInserted(ImageInfo *info, QGraphicsPixmapItem *pitem, int mode);
    void onImageDeleted(int index, qint64 cacheKey);
    void onImagePositionAdjusted(int index, qint64 cacheKey, const QPoint &pos);
    void onImageModeModified(int index, qint64 cacheKey, int mode);
    void onImageOrderSwaped(int srcIdx, int dstIdx, qint64 srcKey, qint64 dstKey);
};


#endif  /*__SCENE_PROPERTIES_VIEW_H__*/
